package com.jeeinc.oa.domain;

import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

@Entity
@Table(name = "Weibo_User_Timeline")
public class Weibo_User_Timeline {
	private String created_at;// 微博创建时间
	private Long id;// 微博ID
	private Long mid; // 微博MID
	private String idstr; // 字符串型的微博ID
	private String text; // 微博信息内容
	private String source; // 微博来源
	private Boolean favorited; // 是否已收藏，true：是，false：否
	private Boolean truncated; // 是否被截断，true：是，false：否
	private String in_reply_to_status_id; // （暂未支持）回复ID
	private String in_reply_to_user_id; // （暂未支持）回复人UID
	private String in_reply_to_screen_name;// （暂未支持）回复人昵称
	private String thumbnail_pic; // 缩略图片地址，没有时不返回此字段
	private String bmiddle_pic; // 中等尺寸图片地址，没有时不返回此字段
	private String original_pic; // 原始图片地址，没有时不返回此字段
	private Weibo_User user; // 微博作者的用户信息字段 详细
	private Integer reposts_count; // 转发数
	private Integer comments_count; // 评论数
	private Integer attitudes_count;// 表态数
	private Integer mlevel; // 暂未支持

	public String getCreated_at() {
		return created_at;
	}

	public void setCreated_at(String created_at) {
		this.created_at = created_at;
	}

	@Id
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public String getIdstr() {
		return idstr;
	}

	public void setIdstr(String idstr) {
		this.idstr = idstr;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public Boolean getFavorited() {
		return favorited;
	}

	public void setFavorited(Boolean favorited) {
		this.favorited = favorited;
	}

	public Boolean getTruncated() {
		return truncated;
	}

	public void setTruncated(Boolean truncated) {
		this.truncated = truncated;
	}

	public String getIn_reply_to_status_id() {
		return in_reply_to_status_id;
	}

	public void setIn_reply_to_status_id(String in_reply_to_status_id) {
		this.in_reply_to_status_id = in_reply_to_status_id;
	}

	public String getIn_reply_to_user_id() {
		return in_reply_to_user_id;
	}

	public void setIn_reply_to_user_id(String in_reply_to_user_id) {
		this.in_reply_to_user_id = in_reply_to_user_id;
	}

	public String getIn_reply_to_screen_name() {
		return in_reply_to_screen_name;
	}

	public void setIn_reply_to_screen_name(String in_reply_to_screen_name) {
		this.in_reply_to_screen_name = in_reply_to_screen_name;
	}

	public String getThumbnail_pic() {
		return thumbnail_pic;
	}

	public void setThumbnail_pic(String thumbnail_pic) {
		this.thumbnail_pic = thumbnail_pic;
	}

	public String getBmiddle_pic() {
		return bmiddle_pic;
	}

	public void setBmiddle_pic(String bmiddle_pic) {
		this.bmiddle_pic = bmiddle_pic;
	}

	public String getOriginal_pic() {
		return original_pic;
	}

	public void setOriginal_pic(String original_pic) {
		this.original_pic = original_pic;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "user_id")
	public Weibo_User getUser() {
		return user;
	}

	public void setUser(Weibo_User user) {
		this.user = user;
	}

	public Integer getReposts_count() {
		return reposts_count;
	}

	public void setReposts_count(Integer reposts_count) {
		this.reposts_count = reposts_count;
	}

	public Integer getComments_count() {
		return comments_count;
	}

	public void setComments_count(Integer comments_count) {
		this.comments_count = comments_count;
	}

	public Integer getAttitudes_count() {
		return attitudes_count;
	}

	public void setAttitudes_count(Integer attitudes_count) {
		this.attitudes_count = attitudes_count;
	}

	public Integer getMlevel() {
		return mlevel;
	}

	public void setMlevel(Integer mlevel) {
		this.mlevel = mlevel;
	}

}
